<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>测试webview与js的交互</title>
    <script type="text/javascript">
        var count = 0;
        function imgFun(){
          if(count % 2 == 0){
         document.getElementById("img").src = "ic_launcher.png";
          }else{
           document.getElementById("img").src = "bd_logo1.png";
          }
          count ++;
        }
        function fun1(){
        myObj.setValuess("你刚刚点击了网页里面的文字，而我却弹个安卓toast");
        }
    </script>

</head>
<body>
<h1 onclick="fun1();">这是网页文字，当点击他的，会弹出安卓原生Toast，</h1>
<a><img id="img" src="bd_logo1.png"/></a>
</body>

</html>